package com.atguigu.self.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.self.common.utils.PageUtils;
import com.atguigu.self.gulimall.product.entity.SkuInfoEntity;

import java.util.Map;

/**
 * sku信息
 *
 * @author lixinyang
 * @email lixinyang@gmail.com
 * @date 2021-02-06 14:29:44
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * sku 信息保存
     *
     * @param skuInfoEntity
     */
    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    /**
     * 根据条件检索sku商品
     *
     * @param params
     * @return
     */
    PageUtils queryPageByCondition(Map<String, Object> params);
}

